
package org.sopt.dev.ImgKnight.monitor.dao;

public class HarvestVO {
	
	String id;
	
	String site;
	
	String pageUrl;
	
	String imgUrl;
	
	String fileName;
	
	String size;
	
	String status;
	
	String countryCode;
	
	String countryName;
	
	String timestamp;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSite() {
		return site;
	}
	
	public void setSite(String site) {
		this.site = site;
	}

	public String getPageUrl() {
		return pageUrl;
	}
	
	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}

	public String getCountryName() {
		return countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	
	public String getValue(int index) {
		if( index == 0 )
			return getId();
		else if( index == 1 )
			return getSite();
		else if( index == 2 )
			return getPageUrl();
		else if( index == 3 )
			return getImgUrl();
		else if( index == 4 )
			return getFileName();
		else if( index == 5 )
			return getSize();
		else if( index == 6 )
			return getStatus();
		else if( index == 7 )
			return getCountryCode();
		else if( index == 8 )
			return getCountryName();
		else if( index == 9 )
			return getTimestamp();
		return null;
	}
	
}